Auto merge of #3229 - martinhath:master, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 25 Oct 2016 21:18:01 +0000 (14:18 -0700)
committerGitHub <noreply@github.com>
Tue, 25 Oct 2016 21:18:01 +0000 (14:18 -0700)
Add fix and test for #3224

This commit fixes #3224, and adds a test for it.
First time contributor to Cargo here, so I'm sorry if I put stuff the wrong places :)


Trivial merge